package com.xrh.WordStudy;


import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Component
public class SpringOnloadListener  implements ApplicationListener<ContextRefreshedEvent>{
	
	
	public void onApplicationEvent(ContextRefreshedEvent event) {
		
		log.info("系统初始化start...");
		
		
		log.info("系统初始化end...");
		
	
	}
	

}
